package com.andyage.admin.dao;

import java.util.List;

import com.andyage.admin.bean.AdfodderBean;
import com.andyage.admin.bean.AdfodderdirectoryBean;


public interface AdfodderdirectoryMapper {
	/**
	 * 查询文件夹
	 * @param adfodder
	 * @return
	 */
	List<AdfodderdirectoryBean> queryAdfodderdirectory(AdfodderdirectoryBean adfodder)throws Exception;
	/**
	 * 查询文件夹总数
	 * @param adfodder
	 * @return
	 */
	int queryAdfodderdirectoryByCount(AdfodderdirectoryBean adfodder)throws Exception;
	/**
	 * 新建文件夹
	 * @param adfodder
	 * @return
	 */
	int addAdfodderdirectory(AdfodderdirectoryBean adfodder)throws Exception;
	/**
	 * 文件夹更名
	 * @param adfodder
	 * @return
	 */
	int updateAdfodderdirectory(AdfodderdirectoryBean adfodder)throws Exception;
	/**
	 * 删除文件夹
	 * @param adfodder
	 * @return
	 */
	int deleteAdfodderdirectory(String adfodder)throws Exception;
}
